package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;

@Data
@ApiModel("申报类型创建参数")
public class DeclarationTypeCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "typeField参数缺失")
    @ApiModelProperty(value = "字段属性")
    private String typeField;
    @NotNull(message = "typeName参数缺失")
    @ApiModelProperty(value = "申报类型")
    private String typeName;

    @ApiModelProperty(value = "创建人")
    private String creator;

}
